<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <title>user-can-administrate-profile</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
  <tbody>
  <tr>
	<td>open</td>
	<td>/sessions/logout</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/sessions/new</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=login</td>
	<td>profileadm</td>
</tr>
<tr>
	<td>type</td>
	<td>id=password</td>
	<td>papwd</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>name=commit</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>css=.js-user-authenticated</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/profiles</td>
	<td></td>
</tr>
<tr>
  <td>waitForElementPresent</td>
  <td>css=.quality-profiles-table-row[data-name=&quot;foo&quot;]</td>
  <td></td>
</tr>
<tr>
  <td>click</td>
  <td>css=.quality-profiles-table-row[data-name=&quot;foo&quot;] .quality-profiles-table-name a</td>
  <td></td>
</tr>
<tr>
  <td>waitForText</td>
  <td>css=.quality-profile-header</td>
  <td>*foo*</td>
</tr>
<tr>
  <td>assertElementPresent</td>
  <td>css=.js-change-parent</td>
  <td></td>
</tr>
<tr>
  <td>open</td>
  <td>/project/quality_profiles?id=sample</td>
  <td></td>
</tr>
<tr>
  <td>waitForText</td>
  <td>id=content</td>
  <td>*Quality Profiles*</td>
</tr>
<tr>
  <td>waitForText</td>
  <td>id=content</td>
  <td>*Xoo*</td>
</tr>
</tbody>
</table>
</body>
</html>
